<template lang="">
    <div>
                                           <button @click = "clickHandler">Call father</button>
    </div>
</template>
<script>
export default {
    data() {
        return {
            subject:'网站开发技术',
            score:99,
        };
    },
    methods: {
        clickHandler(){
            this. $emit('score',this.subject,this.score);
        }
    }
};
</script>
<style lang="">
    
</style>